package com.ossjk.qlh.order.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ossjk.qlh.business.vo.MenuVO;
import com.ossjk.qlh.business.vo.SetmealVO;
import com.ossjk.qlh.order.entity.OrderTc;
import com.ossjk.qlh.order.entity.Orders;
import com.ossjk.qlh.order.vo.*;
import org.apache.ibatis.annotations.Param;

import java.io.Serializable;
import java.util.Collection;
import java.util.List;
import java.util.Map;

/**
 *
 * 订单服务类
 * @author liuxi
 * @since 2020-08-14
 */
public interface IOrdersService extends IService<Orders> {
    List<TcList>  selectTcList(@Param(Constants.WRAPPER) QueryWrapper<TcList> queryWrapper);

    List selectJdPrintOne(@Param(Constants.WRAPPER) QueryWrapper<JdOrderVo> queryWrapper);


    Page selectLunchOrderVo(Page page,@Param("type") Integer type,@Param("nowdate") String nowdate);
    Page historyJdPrint(Page page,@Param(Constants.WRAPPER) QueryWrapper<JdOrderVo> queryWrapper);
    List<JdOrderVo> selectJdPrint(@Param(Constants.WRAPPER) QueryWrapper<JdOrderVo> queryWrapper);
    List<OrderTc> selectTcByEid(@Param(Constants.WRAPPER) QueryWrapper<OrderTc> queryWrapper);
    Integer UpdateIds(@Param("ids") Collection<? extends Serializable> ids);
    Page selectOrderHistory(Page page,QueryWrapper<historyVo> queryWrapper);


    List<countZc> countZC( QueryWrapper<countZc> queryWrapper);

    List<countFc> countFC( QueryWrapper<countFc> queryWrapper);

    List<countQc> countQC( QueryWrapper<countQc> queryWrapper);

    List<countZs> countZs( QueryWrapper<countZs> queryWrapper);

    List<countQt> countQt( QueryWrapper<countQt> queryWrapper);
}
